<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />

<meta name="viewport" content="width=device-width, initial-scale=1" />

<title>文件上传</title>

<link href="css/bootstrap.min.css" rel="stylesheet" />
<link href="css/mystyle.css" rel="stylesheet" />

</head>
<body>
	<div class="container" id="banner">
		<div class="row"  style="padding-top: 10px;">
			<div class="col-xs-6 col-xs-offset-3 well"  style="padding: 0px;">
				<img src="images/banner-orange.jpg" class="img-responsive">
			</div>
		</div>
	</div>


	<div class="container">

		<div class="row">
			<form:form commandName="uploadedFile" class="form-horizontal col-xs-6 col-xs-offset-3 well"
				method="post" enctype="multipart/form-data" action="fileupload">
				<div class="form-group" id="title">文件上传</div>

				<div class="form-group">
					<label for="fileName" class="control-label col-xs-3">File Name:</label>
					<div class="col-xs-9">
						<form:input id="fileName" path="fileName" class="form-control" type="text"/>
					</div>

				</div>
				
				<div class="form-group">
					<label for="multipartFile" class="control-label col-xs-3">File:</label>
					<div class="col-xs-9">
						<input type="file" id="multipartFile" name="multipartFile" >
					</div>
				</div> 
				<!-- 
				<div class="form-group">
					<label class="control-label col-xs-3">Repository File:</label>
					<div class="col-xs-9">
						<input type="file" name="ontology" >
					</div>
				</div> -->
				<div class="form-group">
					<div class="col-xs-6">
						<button type="submit" class="btn btn-primary form-control"
							id="submit">确定</button>
					</div>
					<div class="col-xs-6">
						<button type="button" class="btn btn-default form-control"
							onclick="javascript:history.go(-1)">取消</button>
					</div>
				</div>
			</form:form>
		</div>

	</div>
	<script src="http://cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
	<script src="js/bootstrap.min.js"></script>
</body>
</html>